from base.myBase import Tools


class create_model(Tools):
    create_path = '/task/info'

    def create_action(self, title, db):
        mydata = {
            'title': title
        }
        res = self.session.post(url=self.hosturl+self.create_path, data=mydata, headers=db)
        return res.json()

